Optimal. Leaf size=39 \[ \frac {1}{5} \left (a-\frac {c d^2}{e^2}\right ) (d+e x)^5+\frac {c d (d+e x)^6}{6 e^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {640, 45}
\begin {gather*} \frac {1}{5} (d+e x)^5 \left (a-\frac {c d^2}{e^2}\right )+\frac {c d (d+e x)^6}{6 e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int (d+e x)^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right ) \, dx &=\int (a e+c d x) (d+e x)^4 \, dx\\ &=\int \left (\frac {\left (-c d^2+a e^2\right ) (d+e x)^4}{e}+\frac {c d (d+e x)^5}{e}\right ) \, dx\\ &=\frac {1}{5} \left (a-\frac {c d^2}{e^2}\right ) (d+e x)^5+\frac {c d (d+e x)^6}{6 e^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(95\) vs. \(2(39)=78\).
time = 0.01, size = 95, normalized size = 2.44 \begin {gather*} \frac {1}{30} x \left (6 a e \left (5 d^4+10 d^3 e x+10 d^2 e^2 x^2+5 d e^3 x^3+e^4 x^4\right )+c d x \left (15 d^4+40 d^3 e x+45 d^2 e^2 x^2+24 d e^3 x^3+5 e^4 x^4\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(154\) vs.
\(2(35)=70\).
time = 0.49, size = 155, normalized size = 3.97
method | result | size |
norman | \(\frac {c d \,e^{4} x^{6}}{6}+\left (\frac {1}{5} a \,e^{5}+\frac {4}{5} c \,d^{2} e^{3}\right ) x^{5}+\left (a d \,e^{4}+\frac {3}{2} d^{3} e^{2} c \right ) x^{4}+\left (2 a \,e^{3} d^{2}+\frac {4}{3} c \,d^{4} e \right ) x^{3}+\left (2 a \,e^{2} d^{3}+\frac {1}{2} c \,d^{5}\right ) x^{2}+a e \,d^{4} x\) | \(100\) |
gosper | \(\frac {x \left (5 c d \,e^{4} x^{5}+6 x^{4} a \,e^{5}+24 x^{4} c \,d^{2} e^{3}+30 x^{3} a d \,e^{4}+45 x^{3} d^{3} e^{2} c +60 x^{2} a \,e^{3} d^{2}+40 x^{2} c \,d^{4} e +60 x a \,e^{2} d^{3}+15 x c \,d^{5}+30 a e \,d^{4}\right )}{30}\) | \(104\) |
risch | \(\frac {1}{6} c d \,e^{4} x^{6}+\frac {1}{5} x^{5} a \,e^{5}+\frac {4}{5} x^{5} c \,d^{2} e^{3}+x^{4} a d \,e^{4}+\frac {3}{2} x^{4} d^{3} e^{2} c +2 x^{3} a \,e^{3} d^{2}+\frac {4}{3} x^{3} c \,d^{4} e +2 x^{2} a \,e^{2} d^{3}+\frac {1}{2} x^{2} c \,d^{5}+a e \,d^{4} x\) | \(104\) |
default | \(\frac {c d \,e^{4} x^{6}}{6}+\frac {\left (3 c \,d^{2} e^{3}+e^{3} \left (e^{2} a +c \,d^{2}\right )\right ) x^{5}}{5}+\frac {\left (3 d^{3} e^{2} c +3 d \,e^{2} \left (e^{2} a +c \,d^{2}\right )+a d \,e^{4}\right ) x^{4}}{4}+\frac {\left (c \,d^{4} e +3 d^{2} e \left (e^{2} a +c \,d^{2}\right )+3 a \,e^{3} d^{2}\right ) x^{3}}{3}+\frac {\left (d^{3} \left (e^{2} a +c \,d^{2}\right )+3 a \,e^{2} d^{3}\right ) x^{2}}{2}+a e \,d^{4} x\) | \(155\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 97 vs.
\(2 (36) = 72\).
time = 0.27, size = 97, normalized size = 2.49 \begin {gather*} \frac {1}{6} \, c d x^{6} e^{4} + a d^{4} x e + \frac {1}{5} \, {\left (4 \, c d^{2} e^{3} + a e^{5}\right )} x^{5} + \frac {1}{2} \, {\left (3 \, c d^{3} e^{2} + 2 \, a d e^{4}\right )} x^{4} + \frac {2}{3} \, {\left (2 \, c d^{4} e + 3 \, a d^{2} e^{3}\right )} x^{3} + \frac {1}{2} \, {\left (c d^{5} + 4 \, a d^{3} e^{2}\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 103 vs.
\(2 (36) = 72\).
time = 1.94, size = 103, normalized size = 2.64 \begin {gather*} \frac {1}{2} \, c d^{5} x^{2} + \frac {1}{5} \, a x^{5} e^{5} + \frac {1}{6} \, {\left (c d x^{6} + 6 \, a d x^{4}\right )} e^{4} + \frac {2}{5} \, {\left (2 \, c d^{2} x^{5} + 5 \, a d^{2} x^{3}\right )} e^{3} + \frac {1}{2} \, {\left (3 \, c d^{3} x^{4} + 4 \, a d^{3} x^{2}\right )} e^{2} + \frac {1}{3} \, {\left (4 \, c d^{4} x^{3} + 3 \, a d^{4} x\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 107 vs.
\(2 (34) = 68\).
time = 0.02, size = 107, normalized size = 2.74 \begin {gather*} a d^{4} e x + \frac {c d e^{4} x^{6}}{6} + x^{5} \left (\frac {a e^{5}}{5} + \frac {4 c d^{2} e^{3}}{5}\right ) + x^{4} \left (a d e^{4} + \frac {3 c d^{3} e^{2}}{2}\right ) + x^{3} \cdot \left (2 a d^{2} e^{3} + \frac {4 c d^{4} e}{3}\right ) + x^{2} \cdot \left (2 a d^{3} e^{2} + \frac {c d^{5}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 98 vs.
\(2 (36) = 72\).
time = 1.03, size = 98, normalized size = 2.51 \begin {gather*} \frac {1}{6} \, c d x^{6} e^{4} + \frac {4}{5} \, c d^{2} x^{5} e^{3} + \frac {3}{2} \, c d^{3} x^{4} e^{2} + \frac {4}{3} \, c d^{4} x^{3} e + \frac {1}{2} \, c d^{5} x^{2} + \frac {1}{5} \, a x^{5} e^{5} + a d x^{4} e^{4} + 2 \, a d^{2} x^{3} e^{3} + 2 \, a d^{3} x^{2} e^{2} + a d^{4} x e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 99, normalized size = 2.54 \begin {gather*} x^2\,\left (\frac {c\,d^5}{2}+2\,a\,d^3\,e^2\right )+x^5\,\left (\frac {4\,c\,d^2\,e^3}{5}+\frac {a\,e^5}{5}\right )+x^4\,\left (\frac {3\,c\,d^3\,e^2}{2}+a\,d\,e^4\right )+x^3\,\left (\frac {4\,c\,d^4\,e}{3}+2\,a\,d^2\,e^3\right )+a\,d^4\,e\,x+\frac {c\,d\,e^4\,x^6}{6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________